//
//  Swift_CBDTableViewSectionModel.swift
//  SwiftTestDemo
//
//  Created by John on 2018/5/28.
//  Copyright © 2018年 company. All rights reserved.
//

import UIKit

typealias CBDViewRenderBlock = (_ section:NSInteger, _ tableView:UITableView) -> (UIView)

class Swift_CBDTableViewSectionModel: NSObject {
    
    var cellModelArray = [Swift_CBDTableViewCellModel]()
    
    var headerTitle:String?
    
    var footerTitle:String?
    
    var headerHeight:CGFloat?
    
    var footerHeight:CGFloat?
    
    var headerViewRenderBlock:CBDViewRenderBlock?
    
    var footerViewRenderBlock:CBDViewRenderBlock?
    
    var headerView:UIView?
    
    var footerView:UIView?
    
    override init() {
        super.init()
        self.headerHeight = UITableViewAutomaticDimension
        self.footerHeight = UITableViewAutomaticDimension
//        var cell1 = Swift_CBDTableViewCellModel.init()
//        cell1.renderBlockAction { (value1:NSIndexPath, value2:UITableView) -> (UITableViewCell) in
//            return UITableViewCell.init()
//        }
    }

}
